package com.cjgl.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.cjgl.model.entity.TblAdmin;
import com.cjgl.service.TblAdminService;
import com.cjgl.mapper.TblAdminMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
* @author zhangyuwu
* @description 针对表【tbl_admin(管理员表)】的数据库操作Service实现
* @createDate 2023-06-05 20:49:50
*/
@Service
public class TblAdminServiceImpl extends ServiceImpl<TblAdminMapper, TblAdmin>
    implements TblAdminService{

	@Resource
	TblAdminMapper adminMapper;
	@Override
	public List<String> getMajorsAndClassNos() {
		return adminMapper.getMajorsAndClassNos();
	}

	@Override
	public List<String> getClassNos(String studentMajor) {
		return adminMapper.getClassNos(studentMajor);
	}

	@Override
	public List<String> getDepts() {
		return adminMapper.getDepts();
	}
}




